package com.bigdata.schaduler.domain;

import com.bigdata.schaduler.util.Param;
import lombok.Data;
import org.apache.dolphinscheduler.common.enums.*;

@Data
public class ProcessStartParam {

  @Param
  private Long processDefinitionCode;
  @Param
  private String schedulerTime;
  @Param
  private FailureStrategy failureStrategy;
  private String startNodeList;
  private TaskDependType taskDependType = TaskDependType.TASK_POST;
  private CommandType execType = CommandType.START_PROCESS;
  @Param
  private WarningType warningType;
  private Integer warningGroupId;
  private RunMode runMode;
  private Priority processInstancePriority;
  private String workerGroup = "default";
  private Long environmentCode = -1L;
  private Integer timeout;
  private String startParams;
  private Integer expectedParallelismNumber;
  private Integer dryRun = 0;
  private ComplementDependentMode complementDependentMode = ComplementDependentMode.OFF_MODE;
}
